using System;
using System.Collections.Generic;
using System.Text;

using Crainiate.Data.Persistence.Providers;

namespace Crainiate.Data.Persistence.Testing
{
    public enum ShippingMethod
    {
        Standard = 0,
        Express = 1
    }

    [Serializable]
    public class ShippingAddress: Address
    {
        private ShippingMethod _Method;

        public ShippingAddress()
        {
        }

        public ShippingAddress(Command command): base(command)
        {
        }
        
        [Column]
        public ShippingMethod Method
        {
            get
            {
                return _Method;
            }
            set
            {
                _Method = value;
            }
        }
    }
}
